A Missing Link in Root-to-Frontier Tree Pattern Mat hing

نویسندگان

  • Loek G. W. A. Cleophas
  • Kees Hemerik
  • Gerard Zwaan
چکیده

Abstra t. Tree pattern mat hing (tpm) algorithms play an important role in pra ti al appli ations su h as ompilers and XML do ument validation. Many tpm algorithms based on tree automata have appeared in the literature. For reasons of eÆ ien y, these automata are preferably deterministi . Deterministi root-to-frontier tree automata (drftas) are less powerful than nondeterministi ones, and no root-to-frontier tpm algorithm using drftas has appeared so far. Ho mann & O'Donnell [HO82℄ presented a root-to-frontier tpm algorithm based on an Aho-Corasi k automaton re ognizing tree stringpaths, but no relationship between this algorithm and algorithms using tree automata has been des ribed. In this paper, we show that a spe i drfta an be used for stringpath mat hing in a root-to-frontier tpm algorithm. This algorithm has not appeared in the literature before, and provides a missing link between tpm algorithms using stringpath automata and those using tree automata.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A missing link in root-to-frontier tree pattern matching

Tree pattern matching (tpm) algorithms play an important role in practical applications such as compilers and XML document validation. Many tpm algorithms based on tree automata have appeared in the literature. For reasons of efficiency, these automata are preferably deterministic. Deterministic root-to-frontier tree automata (drftas) are less powerful than nondeterministic ones, and no root-to...

متن کامل

Matching Automata for Regular Patterns

Pattern mat hing me hanisms based on regular expressions are featured in a number of re ent languages for pro essing tree-stru tured data su h as XML. A ompiler for su h a language must address all the familiar problems of pattern optimization in fun tional languages with ML-style algebrai datatypes and pattern mat hing, plus some new ones arising prin ipally from the use of re ursion in patter...

متن کامل

Pattern Guards and Transformational Patterns

Pattern mat hing is a well-appre iated feature of languages like ML or Haskell; it greatly simpli es the task of inspe ting values of stru tured data types and fa ilitates su in t fun tion de nitions that are easy to understand. In its basi form, pattern mat hing tries to identify a ertain stru ture of a value to be pro essed by a fun tion. This stru ture is spe i ed by a pattern, and if it an ...

متن کامل

A Note on Randomized Algorithm for String Mat hing with Mismat hes

Abstra t. Atallah et al. [ACD01℄ introdu ed a randomized algorithm for string mat hing with mismat hes, whi h utilized fast Fourier transformation (FFT) to ompute onvolution. It estimates the s ore ve tor of mat hes between text string and a pattern string, i.e. the ve tor obtained when the pattern is slid along the text, and the number of mat hes is ounted for ea h position. In this paper, we ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2016